package service;

import java.sql.SQLException;
import java.util.List;

import dao.SearchCityDao;
import domain.City;

public class SearchCityService {

	/**
	 * 通过pid获取city
	 * @param pid
	 * @return
	 * @throws SQLException 
	 */
	public List<City> findcities(String pid) throws SQLException {
		return new SearchCityDao().findcities(pid);
	}

}
